//
//  LTMessageImageBody.h
//  LTIM
//
//  Created by 俊松何 on 2017/4/11.
//  Copyright © 2017年 俊松何. All rights reserved.
//

#import "LTMessageBody.h"
#import <UIKit/UIKit.h>

@interface LTMessageImageBody : LTMessageBody


@property(nonatomic,copy) NSString *displayname;

@property(nonatomic,copy) NSString *orginRemotePath;

@property(nonatomic,copy) NSString *thumbnailRemotePath;


@property(nonatomic,assign) CGFloat imageW;
@property(nonatomic,assign) CGFloat imageH;


@property(nonatomic,copy)   NSString *orginLocalPath;
@property(nonatomic,copy)   NSString *thumbnailLocalPath;


@property(nonatomic,copy)  NSString *orginLocalrelativePath;
@property(nonatomic,copy)  NSString *thumbnailLocalrelativePath;

@property (nonatomic, strong) LTFileTokenModel *ossModel;

@property (nonatomic) LTDownloadStatus thumbnaildownloadStatus;

@property (nonatomic) LTDownloadStatus orginImagedownloadStatus;

- (instancetype)initWithImage:(UIImage *)image
                  displayName:(NSString *)aDisplayName;


-(void)saveThumbnailimageData:(NSData *)data;

-(void)saveOrginImageData:(NSData *)data;
@end
